﻿package com.findMoneyGame.pages.wrapper {
	import flash.text.TextFormat;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.display.MovieClip;
	
	import com.findMoneyGame.interfaceComponents.MyButton;
	
	public class LevelIndicator extends MyButton {
		private var _level : int;
		

		public function get level () { return _level; } 
		
		public function set level (value : int) {
			_level = value;
			levelLabel.text = _level.toString();
		}
		public function get text () { return levelLabel.text; }


		public function LevelIndicator() {
			//var format = new TextFormat();
			//format.size = 40;
			//levelLabel.setStyle('textFormat', format);
		}
	}
	
}
